<?php
/*------------------------------------------------------------------------
# mod_latestnews_scroller - Latest New Scroller
# ------------------------------------------------------------------------
# author    Vsmart Extensions
# copyright Copyright (C) 2010 www.vsmart-extensions.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.vsmart-extensions.com
# Technical Support:  Forum - http://www.vsmart-extensions.com
-------------------------------------------------------------------------*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');

$number = $params->get('number', 5);
$width = $params->get('width', 100);
$height = $params->get('height',60);
$showimage = intval($params->get('show_image',"1"));
$loadjquery = intval($params->get('show_jquery',"1"));

$list = modLatestNewsScrollerHelper::getList($params);
require(JModuleHelper::getLayoutPath('mod_latestnews_scroller'));